projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0055190
)
* lisp/nxml/nxml-mode.el (nxml-mode): Use new sgml-syntax-propertize.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 28 Feb 2017 14:35:25 +0000
(09:35 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 28 Feb 2017 14:35:25 +0000
(09:35 -0500)
lisp/nxml/nxml-mode.el
patch
|
blob
|
history
diff --git
a/lisp/nxml/nxml-mode.el
b/lisp/nxml/nxml-mode.el
index 7f9ece7914a9c38f9f50f7654d3717743cc8261b..7e33e743de0a09a170b674b95293b5dd62785c6b 100644
(file)
--- a/
lisp/nxml/nxml-mode.el
+++ b/
lisp/nxml/nxml-mode.el
@@
-518,7
+518,7
@@
Many aspects this mode can be customized using
(nxml-with-invisible-motion
(nxml-scan-prolog)))))
(setq-local syntax-ppss-table sgml-tag-syntax-table)
- (setq-local syntax-propertize-function
sgml-syntax-propertize-function
)
+ (setq-local syntax-propertize-function
#'sgml-syntax-propertize
)
(add-hook 'change-major-mode-hook #'nxml-cleanup nil t)
;; Emacs 23 handles the encoding attribute on the xml declaration